<?php 
	include_once('config/db.php');
	include_once('functions/item.php');
	include_once('functions/category.php');
	include_once('functions/reservation.php');
	if(!isset($_SESSION['reserved_items'])){
		header('location:index.php');	
	}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Borrower's Page</title>
<link rel="stylesheet" href="style.css" type="text/css"/>
<link rel="stylesheet" href="assets/css/zebra_datepicker.css" type="text/css"/>
<script type="text/javascript" src="assets/script/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="assets/script/zebra_datepicker.js"></script>
<script type="text/javascript" src="assets/script/script.js"></script>
</head>

<body>

	<div id="header">
		<div id="logo">
		  <p>&nbsp;</p>
		  <div id="apDiv1"><img src="image/logo.png" alt="" width="500" height="100" /></div>
		  <p>&nbsp;</p>
		</div>
	</div>

	<div id="con-body">
	 <h4>Welcome: <a href="index.php"><?php echo $_SESSION['name'];?></a> | <a href="change.php">Change Password</a> | <a href="edit.php">Edit Profile</a> | <a href="logout.php">Logout</a>  </h4>
	<?php include('extension/left_bar.php');?>
	
	
	 
	 <?php if(isset($_SESSION['reserved_items'])):?>
	 <div class="container">
	 		<div id="success">Success: Items reserved successfully.</div>
			<?php echo $_SESSION['reserved_items']; unset($_SESSION['reserved_items']);?>
			
	 </div>
	 <?php endif;?>
	<div id="clear">
	  <p>&nbsp;</p>
	</div>
	</div>
</body>
</html>